package com.fang.mybatis.mapper;

import com.fang.bean.A;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author fanglingxiao
 * @version 1.0
 * @description TODO
 * @date 2022/4/5 6:24 下午
 **/
@Mapper
public interface AMapper {

    @Select("select * from a where id = #{id} and doc_id = #{docId}")
    A selectOne(Integer id, Integer docId);
}
